package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 客户实体类
 */
@Data
@NoArgsConstructor
@ToString
@TableName("t_client")
public class ClientBean {
    @TableId(value = "pk_clientId",type = IdType.AUTO)
    /**客户id*/
    private Integer id;
    @TableField("c_name")
    /**客户名字*/
    private String name;
    /**
     * 负责人
     */
    @TableField("c_headerName")
    private String headerName;
    /**
     * 负责人电话
     */
    @TableField("c_headerPhone")
    private String headerPhone;

    @TableField("c_address")
    /**办公地址*/
    private String address;
    @TableField("c_email")
    /**邮件*/
    private String email;
    /**
     * 经营范围
     */
    @TableField("c_ranges")
    private String ranges;

    public ClientBean(String name, String headerName, String headerPhone, String address, String email, String ranges) {
        this.name = name;
        this.headerName = headerName;
        this.headerPhone = headerPhone;
        this.address = address;
        this.email = email;
        this.ranges = ranges;
    }

}
